// import './assets/main.css'

import { createApp } from 'vue'
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
import AppRouter from './AppRouter.vue'
import './mock/index.js'
import axios from 'axios'
import router from './router.js'




// createApp(App).mount('#app')

const app = createApp(AppRouter)
//在vue上挂载一个全局对象
app.config.globalProperties.$http = axios

// app.use(ElementPlus)
app.use(router)
app.mount('#app')

